import { createApp } from 'vue'
import App from './App.vue'
import router from './routes/index.js' //引入路由
import pinia from '@/stores/index.js' //引入仓库
import {httpRequest}  from '@/service/http.js'   
const app = createApp(App)
app.mount('#app')
app.use(pinia) //使用仓库
app.use(router) //使用路由
window.$http=httpRequest